<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>在线翻译_爱觅优，打造IT上网第一品牌</title>
<meta name="description" content="爱觅优_在线翻译，支持27种语言，学习好帮手！" />
<meta name="keywords" content="爱觅优_在线翻译" />
<script type="text/javascript" src="http://www.52miui.com/onlinetools/translate/jquery-1.7.1.min.js"></script>
<script type=text/javascript>
$(document).ready(function(){ 
$(".trans-btn").click(function(){
	$(this).text("翻译中...");
	var $src=$("#baidu_translate_input").val();
	var $from=$(".from-inner").attr('data-lang');
	var $to=$(".to-inner").attr('data-lang');
	//alert($src)
   $.ajax({ 
         type : "get", //jquey是不支持post方式跨域的 
         async:false, 
         url : "baidu.php", //跨域请求的URL
		 data: {
                    code:$src,
                    from: $from,
                    to: $to,
                }, 
         dataType : "jsonp",  
         jsonp: "callback",  
         success : function(data){ 
	if(data){
	    $.each(data,function(idx,item){
			//alert(""+item.name+"")
			$(".trans-output-wrap").html(""+item.name+"")
			$(".to-inner").attr("data-lang",""+item.lang+"");
			$txt=$(".to-list").find("li").find("a[data="+item.lang+"]").text();
			$(".to-inner").text(""+$txt+"");
			$(".trans-btn").text("翻译好了！");
			});
	 }else{
			$(".trans-btn").text("翻译失败了！");
	 }
         } 
     }); 		
	})
  
 });
</script>
<script type="text/javascript">
<!--
$(function() {
	$(".from-inner").click(function(e) {
		if ($(".from-list").is(":hidden")) {
		$(".from-list").fadeIn();
		$(".to-list").fadeOut();
			e?e.stopPropagation():event.cancelBubble = true;
		}
	});
	$(".from-list").click(function(e) {
		e?e.stopPropagation():event.cancelBubble = true;
	});
	$(".from-list").find("li").click(function(e) {
		$txt=$(this).text();
		$data=$(this).find('a').attr('data');
		$(".from-inner").text($txt);
		$(".from-inner").attr("data-lang",$data);
		$(".from-list").fadeOut();
		
	});
	$(document).click(function() {
		$(".from-list").fadeOut();
	});
/**/
	$(".to-inner").click(function(e) {
		if ($(".to-list").is(":hidden")) {
		$(".to-list").fadeIn();
		$(".from-list").fadeOut();
			e?e.stopPropagation():event.cancelBubble = true;
		}
	});
	$(".to-list").click(function(e) {
		e?e.stopPropagation():event.cancelBubble = true;
	});
	$(".to-list").find("li").click(function(e) {
		$txt=$(this).text();
		$data=$(this).find('a').attr('data');
		$(".to-inner").text($txt);
		$(".to-inner").attr("data-lang",$data);
		$(".to-list").fadeOut();
		
	});
	$(document).click(function() {
		$(".to-list").fadeOut();
	});
	$(".textarea-clear-btn").click(function() {
		$("#baidu_translate_input").val('');
	});

})
//-->
</script>
<style type="text/css">
.wrap{width:1000px;margin:0 auto;}
.textarea-wrap {
    min-height: 200px;
    padding: 10px;
    border: 1px solid #dedede;
    background-color: #fff;
    position: relative;
	width:450px;
	display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;
	position:relative;
	margin-right: 20px;
}
.trans-btn {
    border-radius: 3px;
    text-align: center;
    height: 40px;
    line-height: 40px;
	margin:15px 0;
    cursor: pointer;
    font-family: "Microsoft YaHei";
	color: #fff;
    width:130px;
	background: #388efb;
	display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;
}
.trans-btn:hover{background: #F40;}
.textarea-clear-btn{
    position: absolute;
    bottom: 0px;
    right: 0px;
	z-index:50;	
    width: 25px;
    height: 25px;
    background: url(http://fanyi.baidu.com/static/i18n/zh/widget/translate/main/translateio/clear_9154fd87.png) -20px -10px no-repeat;	
	}
.textarea {
    border: 0;
    resize: none;
    outline: 0;
    z-index: 3;
    color: #333;
    font-size: 16px;
    overflow: hidden;
	width:445px;
    position: absolute;
    top: 10px;
    left: 10px;
	z-index:10;
}
.trans-output-wrap {
    border: 1px solid #eee;
    border-left: none;
    background-color: #f0f0f0;
	padding: 10px;
	width:440px;
	height: 200px;
	display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;
	position: relative;
	overflow-y:scroll;
	z-index:20;
}

.language-btn{margin:0 15px 0 0; cursor:pointer;}
.select-from-language{position:relative;display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;width:100px;height:40px;line-height:40px;background: #fff;border: 1px solid #dcdcdc;text-align:center;}
.select-to-language{position:relative;display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;width:100px;height:40px;line-height:40px;background: #fff;border: 1px solid #dcdcdc;text-align:center;}
.from-to{position:relative;display:inline-block;display:-moz-inline-stack;zoom:1;*display:inline;width:80px;height:40px;line-height:40px;background: #fff; text-align:center;margin: 0 15px 0 0;}
.language-btn span {
    display: inline-block;display:-moz-inline-stack;zoom:1;*display:inline;
    line-height: 40px;
	width:100%;
    zoom: 1;
}
.language-list {
    position: absolute;
	width:300px;
    top: 40px;
    left: -1px;
    z-index: 1000;
    background-color: #FFF;
    float: left;
    padding: 10px;
    border: 1px solid #dedede;
	display:none;
}
.language-list li{
float:left;
width:100px;
}
.language-list a:hover {
    background: #eef2fc;
    border-radius: 1px;
    border: 1px solid #eef2fc;
    text-decoration: none;
	padding:5px;
}
</style>
</head>

<body>
<div id="doc" class="theme-doc">
  <link rel="stylesheet" type="text/css" href="http://www.52miui.com/css/headbar.css?v=1.0.2" />
<link rel="stylesheet" href="http://www.52miui.com/css/iconfont.css?v=1.0.0">
<script>
$(function(){
//获取当前页面url
var $nowurl=window.location.href;
$("#login").attr("href",$("#login").attr("href")+"?gourl="+$nowurl);
$("#register").attr("href",$("#register").attr("href")+"&gourl="+$nowurl);
//下拉列表
$(".right-nav li").not(".site-nav-pipe").hover(function(){
 $(this).addClass('on');
$(this).find(".opinion-bd").stop().show();
$(this).find(".opinion-list").show();
},function(){
$(this).removeClass('on');
$(this).find(".opinion-bd").stop().hide();
$(this).find(".opinion-list").hide()
})
//判断登录
$.ajax({type:"get",async:false,url:"http://www.52miui.com/member/ajax_index_loginsta_s.php",dataType:"jsonp",jsonp:"callback",success:function(data){if(data){$.each(data,function(idx,item){$(".user_face").attr("src",""+item.face+"");$(".J_MemberNick").attr("title","Hi，"+item.name+"");$("#nologin_box").hide();$("#onlogin_box").show()})}else{$("#nologin_box").show();$("#onlogin_box").hide();}}})
})
</script>
<div id="doc-hd">
    <div class="row">
      <ul class="home-nav fl">
          <li class="home"><a href="javascript:;" id="j_set_home"><i class="icon_topbar iconfont"></i>设为主页</a></li>
          <li><a href="http://www.52miui.com/help.html">主页修复</a></li>
          <li><a href="http://www.52miui.com/templets/default/sou/shortcut.php" target="_self">下载到桌面</a></li>
      </ul>
      <ul class="right-nav fr">
        <span id="nologin_box">
        <li class="nologin_nav"><a href="http://www.52miui.com/member/login.php" id="login">登录</a></li>
        <li class="nologin_nav"><a href="http://www.52miui.com/member/index_do.php?fmdo=user&dopost=regnew" id="register">注册</a></li>
        </span>
        <span id="onlogin_box" style="display:none">
        <li class="nav_slide">
            <a href="http://www.52miui.com/member/index.php" class="J_MemberNick" title=""><img src="" class="user_face" width="20" height="20"><span style="font-size:12px;padding-left:3px">主页</span></a>
            <div class="opinion-list" style="display: none;">
            <a href="http://www.52miui.com/member/mystow.php" class="item">我的收藏</a>
            <a href="http://www.52miui.com/member/article_add.php" class="item">发表文章</a>
            <a href="http://www.52miui.com/member/index_do.php?fmdo=login&dopost=exit" class="item">退出登录</a>
            </div>
        </li>
        </span>
      <li class="site-nav-pipe">|</li>
      <li class="opinion"><a href="javascript:void();"><i class="icon_topbar iconfont"></i>网站导航</a>
  <div class="opinion-bd"><div class="opinion-bd-panel">
  <dl>
  <dt><a href="javascript:void();" style="color: #E93052;">网址导航</a>
  </dt>
  <dd class="item_1">
  <a href="http://sou.52miui.com/zixun/">资讯</a><a href="http://sou.52miui.com/zhanzhang/">站长</a><a href="http://sou.52miui.com/boke/">博客</a><a href="http://sou.52miui.com/yidong/">移动</a><a href="http://sou.52miui.com/sheji/">设计</a><a href="http://sou.52miui.com/sucai/">素材</a><a href="http://sou.52miui.com/ziti/">字体</a><a href="http://sou.52miui.com/jiaocheng/">教程</a><a href="http://sou.52miui.com/qianduan/">前端</a><a href="http://sou.52miui.com/luntan/">论坛</a><a href="http://sou.52miui.com/moban/">模板</a><a href="http://sou.52miui.com/chengxu/">程序</a><a href="http://sou.52miui.com/donghua/">动画</a><a href="http://sou.52miui.com/chahua/">插画</a><a href="http://sou.52miui.com/peise/">配色</a><a href="http://sou.52miui.com/ruanjian/">软件</a><a href="http://sou.52miui.com/gongju/">工具</a><a href="http://sou.52miui.com/weixin/">微信</a><a href="http://sou.52miui.com/tuandui/">团队</a><a href="http://sou.52miui.com/shuju/">数据</a> 
  </dd>
  </dl>
  <dl>
  <dt><a href="javascript:void();" style="color: #F7931C;">工具软件</a>
  </dt>
  <dd class="item_2">
  <a href="http://tool.52miui.com/bbgj/">必备工具</a><a href="http://tool.52miui.com/xlgj/">效率工具</a><a href="http://tool.52miui.com/cjgj/">插件工具</a><a href="http://tool.52miui.com/rjjc/">软件教程</a>
  </dd>
  </dl>
  <dl>
  <dt><a href="#" style="color: #008AFF;">开发手册</a>
  </dt>
  <dd class="item_3">
  <a href="http://www.52miui.com/handbook/MySQL_5.1/index.html">MySQL 5.1参考手册</a><a href="http://www.52miui.com/handbook/css3.0/index.html">CSS3飘零雾雨版</a><a href="http://www.52miui.com/handbook/jQuery1.7/index.html">jQuery1.7中文手册</a><a href="http://www.52miui.com/handbook/css3/index.html">CSS3腾讯ISD版</a><a href="http://www.52miui.com/handbook/css2/index.html">css2中文手册</a><a href="http://www.52miui.com/handbook/App_size/index.html">APP设计尺寸</a><a href="http://www.52miui.com/handbook/css_name/index.html">css命名规范</a>
  </dd>
  </dl>
  <dl>
  <dt><a href="#" style="color: #FF6438;">配色工具</a>
  </dt>
  <dd class="item_4">
  <a href="http://www.52miui.com/colour/Japan_color/index.html">日本传统色彩</a><a href="http://www.52miui.com/colour/china_color/index.html">中国传统色彩</a><a href="http://www.52miui.com/colour/color_ring/index.html">色相环</a><a href="http://www.52miui.com/webtools/mcolor/index.html">魔秀配色</a><a href="http://www.52miui.com/colour/impression/index.html">印象配色</a><a href="http://www.52miui.com/colour/peise/index.html">智能配色</a><a href="http://www.52miui.com/colour/web_safe/index.html">web安全色</a>
  </dd>
  </dl>
  <dl>
  <dt><a href="#" style="color: #A076E3;">网页工具</a>
  </dt>
  <dd class="item_5">
  <a href="http://www.52miui.com/webtools/regular/index.html">正则匹配</a><a href="http://www.52miui.com/webtools/htmlencode/index.html">HTML编码和解码</a><a href="http://www.52miui.com/webtools/runcode/index.html">在线代码运行</a><a href="http://www.52miui.com/webtools\online_ps\index.html">在线ps</a><a href="http://www.52miui.com/webtools\wx_editor\index.html">微信排版</a><a href="http://www.52miui.com/webtools/csscompression/index.html">css压缩/美化</a>
  </dd>
  </dl>
  <dl>
  <dt><a href="#" style="color: #996600;">实用工具</a>
  </dt>
  <dd class="item_6">
  <a href="http://www.52miui.com/onlinetools/translate/index.html">在线翻译</a><a href="http://www.52miui.com/onlinetools/appleinfo/index.html">苹果序列号查询</a><a href="http://www.52miui.com/onlinetools/identity/index.html">身份证查询</a><a href="http://www.52miui.com/onlinetools/ft_jt/index.html">繁/简字转换</a><a href="http://www.52miui.com/onlinetools/rmb/index.html">人民币小写转大写</a><a href="http://www.52miui.com/onlinetools/calendar/index.html">万年历</a><a href="http://www.52miui.com/onlinetools/pinyin/index.html">汉字转拼音</a><a href="http://www.52miui.com/onlinetools/quhao/index.html">查区号</a>
  </dd>
  </dl>
  <dl style="border-right-width: 0px;">
  <dt><a href="#" style="color: #FF9900;">关于我们</a>
  </dt>
  <dd class="item_7">
  <a href="http://www.52miui.com/feedback.html">意见反馈</a><a href="http://www.52miui.com/mkt.html">广告服务</a><a href="http://www.52miui.com/about.html">关于我们</a><a href="http://www.52miui.com/shoulu.html">网址收录</a>
  </dd>
  </dl>
  </div>
  </div>
  </li>
  </ul>
   </div>
</div>
<div class="wrap gmodule">
  <div class="textarea-wrap gmodule">
  <a href="javascript:void()" class="textarea-clear-btn" title="清空"></a>
  <textarea class="textarea"  rows="10" id="baidu_translate_input"></textarea>
  </div>
  <div class="trans-output-wrap">
  1、不宜输入过长的句子。<br/>
  2、不宜输入不通顺的句子。<br/>
  3、未显示翻译结果，请逐段翻译。<br/>
  4、如有问题，请及时<a href="http://www.52miui.com/feedback.html" style="color:#F40;">反馈</a>给我们，感谢您的支持！<br/>
  5、觉得好用，请右击添加到我的收藏夹。<br/>
  </div>
  <div class="trans-operation clearfix">
  <div class="select-from-language language-btn">
  <span class="from-inner" data-lang="auto">自动检测</span>
      <div class="language-list from-list">
        <ul>
      <li><a href="javascript:void()" data="auto">自动检测</a></li>
      <li><a href="javascript:void()" data="zh">中文</a></li>
      <li><a href="javascript:void()" data="cht">中文繁体</a></li>
      <li><a href="javascript:void()" data="en">英文</a></li>
      <li><a href="javascript:void()" data="jp">日语</a></li>
      <li><a href="javascript:void()" data="kor">韩语</a></li>
      <li><a href="javascript:void()" data="fra">法语</a></li>
      <li><a href="javascript:void()" data="wyw">文言文</a></li>
      <li><a href="javascript:void()" data="de">德语</a></li>
      <li><a href="javascript:void()" data="yue">粤语</a></li>
      <li><a href="javascript:void()" data="th">泰语</a></li>
      <li><a href="javascript:void()" data="nl">荷兰语</a></li>
      <li><a href="javascript:void()" data="swe">瑞典语</a></li>
      <li><a href="javascript:void()" data="spa">西班牙语</a></li>
      <li><a href="javascript:void()" data="el">希腊语</a></li>
      <li><a href="javascript:void()" data="ru">俄语</a></li>
      <li><a href="javascript:void()" data="pt">葡萄牙语</a></li>
      <li><a href="javascript:void()" data="it">意大利语</a></li>
      </ul>
      </div>
  </div>
  <div class="from-to"><span class="exchange-mask"><i class="icon_topbar iconfont"></i></span></div>
  <div class="select-to-language language-btn"><span class="to-inner" data-lang="zh">中文</span>
  		<div class="language-list to-list">
        <ul>
      <li><a href="javascript:void()" data="zh">中文</a></li>
      <li><a href="javascript:void()" data="cht">中文繁体</a></li>
      <li><a href="javascript:void()" data="en">英文</a></li>
      <li><a href="javascript:void()" data="jp">日语</a></li>
      <li><a href="javascript:void()" data="kor">韩语</a></li>
      <li><a href="javascript:void()" data="fra">法语</a></li>
      <li><a href="javascript:void()" data="wyw">文言文</a></li>
      <li><a href="javascript:void()" data="de">德语</a></li>
      <li><a href="javascript:void()" data="yue">粤语</a></li>
      <li><a href="javascript:void()" data="th">泰语</a></li>
      <li><a href="javascript:void()" data="nl">荷兰语</a></li>
      <li><a href="javascript:void()" data="swe">瑞典语</a></li>
      <li><a href="javascript:void()" data="spa">西班牙语</a></li>
      <li><a href="javascript:void()" data="el">希腊语</a></li>
      <li><a href="javascript:void()" data="ru">俄语</a></li>
      <li><a href="javascript:void()" data="pt">葡萄牙语</a></li>
      <li><a href="javascript:void()" data="it">意大利语</a></li>
      </ul>
      </div>
  </div>
  <div class="trans-btn">翻译一下</div>
 </div>
<div class='_DEDECY' style='' data-verion='0.0.17'><div id='SOHUCS' sid=''></div></div><script>(function(){var doc = document,s = doc.createElement('script'),h = doc.getElementsByTagName('head')[0] || doc.head || doc.documentElement;s.type = 'text/javascript';s.charset = 'utf-8';s.src='http://assets.changyan.sohu.com/upload/changyan.js?conf=prod_7081e621b3fb55c721d5452bedd63666&appid=cyrSpQGLo';h.insertBefore(s,h.firstChild);window.SCS_NO_IFRAME = true;})()</script>
<div id="changyan-comments" style="display:none">
    <ol id="comments-list">获取评论失败    </ol>
</div>
</div>
  <link rel="stylesheet" type="text/css" href="http://www.52miui.com/css/footbar.css?v=1.0.1" />
<div id="doc-ft">
    <div id="copyright" class="gmodule g-box">
		<div class="copyright-bd">
		<a href="http://www.52miui.com/about.html">关于我们</a> | <a href="http://www.52miui.com/shoulu.html">申请收录</a> | <a href="http://www.52miui.com/help.html">帮助中心</a> | <a href="http://www.52miui.com/mkt.html">广告服务</a> | <span class="rights">Copyright © 2014-2016 爱觅优网络科技 版权所有</span> <a href="#" rel="noreferrer" class="icp" target="_blank">陇ICP备15000142号</a>
		</div>
	</div>
</div>
</div>
</body>
</html>